package com.lzh.farmersshop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lzh.farmersshop.entity.Evaluation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Evaluation)表数据库访问层
 *
 * @author makejava
 * @since 2024-01-04 15:37:10
 */
public interface EvaluationMapper extends BaseMapper<Evaluation> {

    List<Evaluation> findAllByGoodsid(@Param("goodsid") Integer goodsid);

    Long selectAllCount(@Param("evaluation") Evaluation evaluation);

    List<Evaluation> selectAll(@Param("evaluation") Evaluation evaluation, @Param("page") Integer page, @Param("limit") Integer limit);
}

